############## MySQL 数据库 #####################
FROM mysql:5.5 as mysql
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
COPY ./sql/init.sql /docker-entrypoint-initdb.d/
COPY ./sql/al_server_ls.sql /opt/sql/
COPY ./sql/al_server_gs.sql /opt/sql/
RUN chown -R mysql:mysql /docker-entrypoint-initdb.d/
RUN chown -R mysql:mysql /opt/sql/
